package com.heima.schedule.service;

import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.schedule.dtos.Task;

public interface TaskService {
    ResponseResult addTask(Task task);

    ResponseResult cancelTask(long taskId);

    ResponseResult pull(int type, int priority);
}
